﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BanmaytinhDAL;
using System.Data;
using System.Web;
using System.Data.SqlClient;
namespace BanmaytinhBOL
{
   public class DonvitinhBOL
   {
       private static DonvitinhInfo obj;
       private static DonvitinhDAL db = new DonvitinhDAL();

       public static DonvitinhInfo Donvitinh_GetById(string Madonvitinh)
       {
           return obj;
       }
       

       public static List<DonvitinhInfo> Donvitinh_GetByAll()
        {
            return db.Donvitinh_GetByAll();
        }

       public static bool Donvitinh_Insert(DonvitinhInfo data)
       {
           return db.Insert(data);
       }


       public static bool Donvitinh_Update(DonvitinhInfo data)
       {
           return db.Update(data);
       }


       public static bool Donvitinh_Delete(string Madonvitinh)
       {
           return db.Delete(Madonvitinh);
       }


       
   }

}
